package com.kepler.social.usersecurity.dao.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserMobilePhone implements Serializable {
    private Long id;

    /**
     * 国际区号
     */
    private Integer countryCallingCode;

    /**
     * 手机号码
     */
    private Long phoneNumber;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 状态 0:待验证完成;1:已验证;2:已废弃（用户换手机）
     */
    private Integer state;

    /**
     * 废弃时间
     */
    private Long disuseTime;

    private Long createdTime;

    private Long modifiedTime;

    private static final long serialVersionUID = 1L;
}